package  com.greensoftcodeplus.redislog.utils;

import com.alibaba.fastjson.JSONObject;

public class ResolvingArgsObject {
    public static String ResolvingArgs(Object o) {
        String ret = "";
        try {
            if (o instanceof byte[]) {
                ret+="[";
                String objclassName= o.getClass().getName();
                ret+= "\""+objclassName+"\""+","  +JSONObject.toJSONString(o);
                ret+="]";;
            }
        } catch (Exception e) {
            ret = "";
        }
        return ret;
    }
}
